package searchteam.client.ui.commands;

import searchteam.client.services.SearchTeamServicesAsync;
import searchteam.client.ui.widgets.CreatePersonPopUp;
import searchteam.client.ui.widgets.DataPanel;

public class CreatePersonCommand implements Command {

	private SearchTeamServicesAsync services;
	private DataPanel panel;
	
	public CreatePersonCommand(SearchTeamServicesAsync s) {
		services = s;
	}
	
	public void execute(DataPanel p) {
		panel = p;
		new CreatePersonPopUp(panel, services);
	}

}
